Skip to content

prevent duplicate items in search registry#1248

Open
krmax44 wants to merge 2 commits intomainfrom
krmax44/search-registry
Open

prevent duplicate items in search registry#1248
krmax44 wants to merge 2 commits intomainfrom
krmax44/search-registry

Conversation

@krmax44
Copy link
Copy Markdown
Member

@krmax44 krmax44 commented Apr 16, 2026

  • ➕ add django-stubs-ext
  • 🐛 prevent searches from being registered multiple times

@stefanw
Copy link
Copy Markdown
Member

stefanw commented Apr 16, 2026

This needs changes in all call sites, I'd go for an optional name keyword parameter in search_registry.register. So far only CMS searches are duplicated (due to the way they are registered), so only those need to be deduplicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants